package demo.springboot.POJO;

import java.io.Serializable;

public class T_product implements Serializable {

    private Long id;
    private String title;
    private String img_url;
    private String description;
    private String type;

    public T_product() {
    }

    @Override
    public String toString() {
        return "T_product{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", img_url='" + img_url + '\'' +
                ", description='" + description + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public T_product(Long id, String title, String img_url, String description, String type) {
        this.id = id;
        this.title = title;
        this.img_url = img_url;
        this.description = description;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
